Skip to content

Conversation

@olivier-le-sage
Copy link
Contributor

@olivier-le-sage olivier-le-sage commented Oct 7, 2024

@olivier-le-sage olivier-le-sage force-pushed the cs-test-sample branch 19 times, most recently from ce83e81 to e2cf12c Compare October 9, 2024 13:27
@olivier-le-sage olivier-le-sage force-pushed the cs-test-sample branch 6 times, most recently from 2dbd244 to 2b891b4 Compare October 18, 2024 12:41
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use qsort() from standard library to avoid O(n^2) complexity?
Not sure how much time we actually spend sorting but I think it can improve performance a bit

@Thalley Thalley removed their request for review October 25, 2024 14:03
Copy link
Contributor

@rugeGerritsen rugeGerritsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sample code looks really nice and structured. Added some ideas on how to improve the documentation.

I need to get a second 54L DK so that I can start running it :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BT_HCI_LE_CS_TIME_DIFFERENCE_NOT_AVAILABLE is out of the range of int16_t tod_toa_reflector

Copy link
Contributor Author

@olivier-le-sage olivier-le-sage Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change it back to uint16_t in hci_types.h (separate PR)

@olivier-le-sage olivier-le-sage force-pushed the cs-test-sample branch 3 times, most recently from 85e0279 to 3a3b765 Compare October 31, 2024 14:18
@olivier-le-sage
Copy link
Contributor Author

Refactored a bit to remove the console kconfigs/interaction, based on feedback about best practice. Now initiator and reflector are in separate folders/apps and the sample runs itself automatically on boot.

@olivier-le-sage olivier-le-sage force-pushed the cs-test-sample branch 2 times, most recently from 44b06dc to 68e2664 Compare November 1, 2024 09:05
@olivier-le-sage olivier-le-sage force-pushed the cs-test-sample branch 2 times, most recently from a30074f to 2f94918 Compare November 1, 2024 10:39
These samples demonstrate how to use the bluetooth 6.0 channel
sounding APIs. A basic distance estimation algorithm is included.

Signed-off-by: Olivier Lesage <[email protected]>
@mmahadevan108 mmahadevan108 added this to the v4.1.0 milestone Nov 1, 2024
@nashif nashif merged commit fc8d942 into zephyrproject-rtos:main Nov 16, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth area: Samples Samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.